<div class="panel panel-default">
    <div class="panel-heading">
        <h4 class="panel-title">
            <a href="#settingsGroupPanelCollapse" data-toggle="collapse" data-parent="#mainSidebarPanelGroup">
                <i class="iconfont1 icon-xitongshezhi"></i>
                <span>系统设置</span>
                <i class="iconfont icon-unfold"></i>
            </a>
        </h4>
    </div>
    <div id="settingsGroupPanelCollapse" class="panel-collapse collapse">
        <div class="panel-body">
            <ul class="list-group">
                [@hasPermission name="department:list" ]
                    <li class="list-group-item">
                        <a href="/admin/department/list" target="mainFrameContent">
                            <i class="iconfont icon-weixuanzhong"></i>
                            组织架构
                        </a>
                    </li>
                [/@hasPermission]

                [@hasPermission name="role:list" ]
                    <li class="list-group-item">
                        <a href="/admin/role/list" target="mainFrameContent">
                            <i class="iconfont icon-weixuanzhong"></i>
                            角色管理
                        </a>
                    </li>
                [/@hasPermission]

                [@hasPermission name="admin:list" ]
                    <li class="list-group-item">
                        <a href="/admin/admin/list" target="mainFrameContent">
                            <i class="iconfont icon-weixuanzhong"></i>
                            管理员管理
                        </a>
                    </li>
                [/@hasPermission]

                [@hasPermission name="loginLog:list" ]
                    <li class="list-group-item">
                        <a href="/admin/login_log/list" target="mainFrameContent">
                            <i class="iconfont icon-weixuanzhong"></i>
                            登录日志
                        </a>
                    </li>
                [/@hasPermission]

                [@hasPermission name="operateLog:list" ]
                    <li class="list-group-item">
                        <a href="/admin/operate_log/list" target="mainFrameContent">
                            <i class="iconfont icon-weixuanzhong"></i>
                            操作日志
                        </a>
                    </li>
                [/@hasPermission]
            </ul>
        </div>
    </div>
</div>